home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 April: Penguin on DISC / ADC Developer CD (1993-04) (''Penguin On DISC'')_iso / Dev.CD Apr 93.iso / Utilities / MPW Interfaces 7.1 Beta / PInterfaces / SegLoad.p < prev    next >
Encoding:
Text File  |  1992-08-28  |  1.2 KB  |  62 lines  |  [TEXT/MPS ]

  1.  
  2. {
  3. Created: Monday, September 16, 1991 at 12:54 AM
  4.  SegLoad.p
  5.  Pascal Interface to the Macintosh Libraries
  6.  
  7.   Copyright Apple Computer, Inc. 1985-1991
  8.   All rights reserved
  9. }
  10.  
  11.  
  12. {$IFC UNDEFINED UsingIncludes}
  13. {$SETC UsingIncludes := 0}
  14. {$ENDC}
  15.  
  16. {$IFC NOT UsingIncludes}
  17.  UNIT SegLoad;
  18.  INTERFACE
  19. {$ENDC}
  20.  
  21. {$IFC UNDEFINED UsingSegLoad}
  22. {$SETC UsingSegLoad := 1}
  23.  
  24. {$I+}
  25. {$SETC SegLoadIncludes := UsingIncludes}
  26. {$SETC UsingIncludes := 1}
  27. {$IFC UNDEFINED UsingTypes}
  28. {$I $$Shell(PInterfaces)Types.p}
  29. {$ENDC}
  30. {$SETC UsingIncludes := SegLoadIncludes}
  31.  
  32. CONST
  33. appOpen = 0;        {Open the Document (s)}
  34. appPrint = 1;        {Print the Document (s)}
  35.  
  36. TYPE
  37. AppFile = RECORD
  38.  vRefNum: INTEGER;
  39.  fType: OSType;
  40.  versNum: INTEGER;    {versNum in high byte}
  41.  fName: Str255;
  42.  END;
  43.  
  44.  
  45. PROCEDURE UnloadSeg(routineAddr: Ptr);
  46.  INLINE $A9F1;
  47. PROCEDURE ExitToShell;
  48.  INLINE $A9F4;
  49. PROCEDURE GetAppParms(VAR apName: Str255;VAR apRefNum: INTEGER;VAR apParam: Handle);
  50.  INLINE $A9F5;
  51. PROCEDURE CountAppFiles(VAR message: INTEGER;VAR count: INTEGER);
  52. PROCEDURE GetAppFiles(index: INTEGER;VAR theFile: AppFile);
  53. PROCEDURE ClrAppFiles(index: INTEGER);
  54.  
  55.  
  56. {$ENDC} { UsingSegLoad }
  57.  
  58. {$IFC NOT UsingIncludes}
  59.  END.
  60. {$ENDC}
  61.  
  62.